<template>
	<view class="warp">
		<gradeBox :gradeView="followView"></gradeBox>
	</view>
</template>
<script>
	import gradeBox from '@/components/grade/index.vue'
	export default {
		components: {
			gradeBox
		},
		data() {
			return {
				followView: [],
			}
		},
		onLoad() {
			this.follow();
		},
		methods:{
			follow() {
				this.$request('mock/93c1b8865170438476e406a41e3fdf37/studynotes/follow','GET').then(res => {
					console.log('返回关注数据', res)// 打印调用成功回调
					this.followView = res.followData;
				}).catch(err => {
					console.log('请求失败')
				})
			},
		}
	}	
</script>
<style lang="scss">
</style>
